﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YTCMS.Core
{
    public class Pagination
    {

        /// <summary>
        /// 页索引
        /// </summary>
        public int PageIndex
        {
            get;
            set;
        }
        /// <summary>
        /// 页尺寸
        /// </summary>
        public int PageSize
        {
            get;
            set;
        }
        /// <summary>
        /// 初始化调用
        /// </summary>
        public Pagination()
        {
            this.PageIndex = 1;
            this.PageSize = 10;
        }
    }
}
